package com.rbw.controller.req;

import com.rb.util.NumUtil;

/**
 * 获取验证码参数
 * 
 * @author cuihaidong
 *
 */
public class SendVCodeParam {

	private String username;// 用户名
	private String type;// 1：手机号，2：邮箱
	private String action;// 1：注册，2：找回密码，3：绑定

	public int getType() {
		return NumUtil.toInt(type, 1);
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public int getAction() {
		return NumUtil.toInt(action, 1);
	}

	public void setAction(String action) {
		this.action = action;
	}

}
